/* 
 * File:   main.cpp
 * Author: nono
 *
 * Created on 21 janvier 2013, 10:38
 */

#include <cstdlib>
#include <fstream>
#include <iostream>
#include <string>

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {
    int *matrix;
    const char *filename = "map.txt";
    ifstream ifs(filename);
    if(!ifs){
        cerr << "Le fichier [" << filename 
           << "] n'existe pas" << endl;
        return 1;
    }
    string line;
    matrix = new int[3];
    while(std::getline(ifs,line)) {
       // cout << ifs << endl;
        cout << line << endl;
        
    }
    ifs.close();

    delete [] matrix;
    return 0;
}

